package net.minecraft.src;

import net.sparrow.Sparrow;
import net.sparrow.event.SpTickEvent;

public class EntityRendererProxy extends EntityRenderer
{
    private Minecraft game;

    public EntityRendererProxy(Minecraft minecraft)
    {
        super(minecraft);
        this.game = minecraft;
    }

    /**
     * Will update any inputs that effect the camera angle (mouse) and then render the world and GUI
     */
    public void updateCameraAndRender(float f)
    {
        super.updateCameraAndRender(f);
        ModLoader.onTick(f, this.game);
        //@SPARROWCODE
        Sparrow.get().onTick();
        //@END-SPARROWCODE
    }
}
